// layerConfig.js
export const layerConfig = [
    {
        id: 'img',
        urlTemplate: "http://t{s}.tianditu.gov.cn/img_w/wmts?" +
            "SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles" +
            "&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}" +
            "&tk=d26d5a61585000093f0d64032de7053a",
        subdomains: ['1', '2', '3', '4', '5'],
        cssFilter: 'brightness(20%) saturate(100%) invert(18%) sepia(51%) saturate(277%) hue-rotate(112deg) brightness(96%) contrast(92%)'
    },
    {
        id: 'yy',
        urlTemplate: "https://img.net/access/rest/services/MosaicMap_2019_05M/Transfer?token=HB%5CIVWAQWBPG&x-gistack-token=anonymous&style=default&tilematrixset=EPSG%3A3857&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fwebp&TileMatrix={z}&TileCol={x}&TileRow={y}",
        cssFilter: 'drop-shadow(0px 0px 5px rgba(180,252,255,0.27)) drop-shadow(0px 0px 10px rgba(69,175,179,0.27)) drop-shadow(0px 0px 15px rgba(74,152,114,0.32)) brightness(1.2)'
    },
    {
        id: 'cia',
        urlTemplate: "http://t{s}.tianditu.gov.cn/cia_w/wmts?" +
            "SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cia&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles" +
            "&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}" +
            "&tk=d26d5a61585000093f0d64032de7053a",
        subdomains: ['1', '2', '3', '4', '5'],
        cssFilter: 'brightness(75%)'
    }
];
